<?php

include('bdd/bdd_conf.php');

$pseudo = htmlentities(addslashes($_POST['p']));
if (!empty($pseudo)) {
    $res = mysql_query("select * from mot where fr='" . $pseudo . "'");
    echo (($row = mysql_fetch_array($res)) ? 'FAIL' : 'OK');
}


?>
